package com.gc.server.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class TodoExcel {

    @ExcelProperty("主题")
    private String title;

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("类型")
    private String type;

    @ExcelProperty("状态")
    private String status;

    @ExcelProperty("时间")
    private Date date;

    @ExcelProperty("评分")
    private BigDecimal score;

    public TodoExcel(String title, String name, String type, String status, Date date, BigDecimal score) {
        this.title = title;
        this.name = name;
        this.type = type;
        this.status = status;
        this.date = date;
        this.score = score;
    }
}
